package com.stadium.service;

import com.stadium.dto.RRuleDetailDto;
import com.stadium.entity.RRuleDetail;
import com.stadium.vo.RRuleDetailVo;
import com.stadium.vo.searchVo.RRuleDetailSearchVo;

import java.util.List;
import java.util.Map;

/**
 * 规则细则
 *
 * @author zq
 * @email 513973172@qq.com
 * @date 2020-01-31 15:13:39
 */
public interface RRuleDetailSV {
    List<RRuleDetail> queryBySQL(String sql, Map<String, Object> map);

    void save(RRuleDetailVo rRuleDetailVo);

    void saveBatch(List<RRuleDetail> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(RRuleDetailVo rRuleDetailVo);

    List<RRuleDetailDto> query(RRuleDetailSearchVo searchVo);

    RRuleDetailDto get(String id);

    int getCount(RRuleDetailSearchVo rRuleDetailsearchVo);

    RRuleDetail getByCode(String code);
}
